FROM ubuntu
MAINTAINER heshuai

RUN mkdir -p /usr/local/run
WORKDIR /usr/local/run


#add all files
ADD ./homework ./homework

#ENTRYPOINT ["./app"]
ENTRYPOINT ["/usr/local/run/homework"]

# docker build -t homwork/ubuntu:v1 .
# docker tag b0d28d0f4887 dongxifucf/cloud_train:homwork/ubuntu
# docker run -d -p 8080:8080 --name homework dongxifucf/cloud_train:homwork
# docker push dongxifucf/cloud_train:homwork
# docker pull dongxifucf/cloud_train:homwork
# $(docker inspect --format "{{ .State.Pid}}" 6e013a05d04c)
# nsenter --target 512056 --mount --uts --ipc --net --pid
